package com.itmk.zhipuapi.service.v4.image;

import lombok.*;

/**
 * A request for ZhiPuAi to create an image based on a prompt
 * All fields except prompt are optional
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CreateImageRequest {

    /**
     * A text description of the desired image(s). The maximum length is 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
     */
    @NonNull
    String prompt;

    /**
     * The model to use for image generation. Defaults to "dall-e-2".
     */
    String model;

}
